{extend name="layout" /}
{block name="title"}角色管理{/block}
{block name="content"}
<div class="layui-form" lay-filter="LAY-user-role-form" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">角色名称</label>
        <div class="layui-input-inline">
            <input type="text" name="name" lay-verify="required" placeholder="请输入角色名称" autocomplete="off"
                   class="layui-input" value="{$data.name}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">角色描述</label>
        <div class="layui-input-block">
            <textarea type="text" name="remark" autocomplete="off" class="layui-textarea">{$data.remark}</textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-inline">
            <input type="radio" name="status" value="1" title="开启" {if $data.status == 1}checked{/if}>
            <input type="radio" name="status" value="0" title="禁用" {if $data.status == 0}checked{/if}>
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-user-role-submit" id="LAY-user-role-submit"
               value="确认">
    </div>
</div>
{/block}